﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001147 RID: 4423
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SetCurWaypointScRsp : IMessage<SetCurWaypointScRsp>, IMessage, IEquatable<SetCurWaypointScRsp>, IDeepCloneable<SetCurWaypointScRsp>, IBufferMessage
	{
		// Token: 0x170037FE RID: 14334
		// (get) Token: 0x0600C5F1 RID: 50673 RVA: 0x002167F0 File Offset: 0x002149F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SetCurWaypointScRsp> Parser
		{
			get
			{
				return SetCurWaypointScRsp._parser;
			}
		}

		// Token: 0x170037FF RID: 14335
		// (get) Token: 0x0600C5F2 RID: 50674 RVA: 0x002167F7 File Offset: 0x002149F7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SetCurWaypointScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003800 RID: 14336
		// (get) Token: 0x0600C5F3 RID: 50675 RVA: 0x00216809 File Offset: 0x00214A09
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SetCurWaypointScRsp.Descriptor;
			}
		}

		// Token: 0x0600C5F4 RID: 50676 RVA: 0x00216810 File Offset: 0x00214A10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetCurWaypointScRsp()
		{
		}

		// Token: 0x0600C5F5 RID: 50677 RVA: 0x00216818 File Offset: 0x00214A18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetCurWaypointScRsp(SetCurWaypointScRsp other) : this()
		{
			this.fIIMDIGFDNJ_ = other.fIIMDIGFDNJ_;
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C5F6 RID: 50678 RVA: 0x00216849 File Offset: 0x00214A49
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetCurWaypointScRsp Clone()
		{
			return new SetCurWaypointScRsp(this);
		}

		// Token: 0x17003801 RID: 14337
		// (get) Token: 0x0600C5F7 RID: 50679 RVA: 0x00216851 File Offset: 0x00214A51
		// (set) Token: 0x0600C5F8 RID: 50680 RVA: 0x00216859 File Offset: 0x00214A59
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FIIMDIGFDNJ
		{
			get
			{
				return this.fIIMDIGFDNJ_;
			}
			set
			{
				this.fIIMDIGFDNJ_ = value;
			}
		}

		// Token: 0x17003802 RID: 14338
		// (get) Token: 0x0600C5F9 RID: 50681 RVA: 0x00216862 File Offset: 0x00214A62
		// (set) Token: 0x0600C5FA RID: 50682 RVA: 0x0021686A File Offset: 0x00214A6A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600C5FB RID: 50683 RVA: 0x00216873 File Offset: 0x00214A73
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SetCurWaypointScRsp);
		}

		// Token: 0x0600C5FC RID: 50684 RVA: 0x00216881 File Offset: 0x00214A81
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SetCurWaypointScRsp other)
		{
			return other != null && (other == this || (this.FIIMDIGFDNJ == other.FIIMDIGFDNJ && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C5FD RID: 50685 RVA: 0x002168C0 File Offset: 0x00214AC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.FIIMDIGFDNJ != 0U)
			{
				num ^= this.FIIMDIGFDNJ.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C5FE RID: 50686 RVA: 0x00216918 File Offset: 0x00214B18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C5FF RID: 50687 RVA: 0x00216920 File Offset: 0x00214B20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C600 RID: 50688 RVA: 0x0021692C File Offset: 0x00214B2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.FIIMDIGFDNJ != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.FIIMDIGFDNJ);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C601 RID: 50689 RVA: 0x00216988 File Offset: 0x00214B88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.FIIMDIGFDNJ != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FIIMDIGFDNJ);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C602 RID: 50690 RVA: 0x002169E0 File Offset: 0x00214BE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SetCurWaypointScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.FIIMDIGFDNJ != 0U)
			{
				this.FIIMDIGFDNJ = other.FIIMDIGFDNJ;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C603 RID: 50691 RVA: 0x00216A30 File Offset: 0x00214C30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C604 RID: 50692 RVA: 0x00216A3C File Offset: 0x00214C3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.FIIMDIGFDNJ = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004FAE RID: 20398
		private static readonly MessageParser<SetCurWaypointScRsp> _parser = new MessageParser<SetCurWaypointScRsp>(() => new SetCurWaypointScRsp());

		// Token: 0x04004FAF RID: 20399
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004FB0 RID: 20400
		public const int FIIMDIGFDNJFieldNumber = 6;

		// Token: 0x04004FB1 RID: 20401
		private uint fIIMDIGFDNJ_;

		// Token: 0x04004FB2 RID: 20402
		public const int RetcodeFieldNumber = 15;

		// Token: 0x04004FB3 RID: 20403
		private uint retcode_;
	}
}
